package com.data.modules.smzh.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.data.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 智慧屏消息表
 * @Author: data-boot
 * @Date:   2023-01-06
 * @Version: V1.0
 */
@Data
@TableName("smzh_screen_msg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smzh_screen_msg对象", description="智慧屏消息表")
public class SmzhScreenMsg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**项目编号*/
    @ApiModelProperty(value = "项目编号")
    @Excel(name = "项目编号", width = 15, dictTable = "sm_manage.project", dicText = "project_name", dicCode = "id")
    @Dict(dictTable = "sm_manage.project", dicText = "project_name", dicCode = "id")
    private String projectNo;
	/**建筑编号*/
	@Excel(name = "建筑编号", width = 15)
    @ApiModelProperty(value = "栋号")
    private String buildNo;

    /**建筑编号*/
    @Excel(name = "单元号", width = 15)
    @ApiModelProperty(value = "单元号")
    private String unitNo;

    /**建筑编号*/
    @Excel(name = "房间号", width = 15)
    @ApiModelProperty(value = "房间号")
    private String roomNo;

	/**室内机类型*/
	@Excel(name = "室内机类型", width = 15, dicCode = "smzh_edevi_type")
	@Dict(dicCode = "smzh_edevi_type")
    @ApiModelProperty(value = "室内机类型")
    private String type;
	/**消息标题*/
	@Excel(name = "消息标题", width = 15)
    @ApiModelProperty(value = "消息标题")
    private String title;
	/**消息类型 1：图片2：网站*/
	@Excel(name = "消息类型 1：图片2：网站", width = 15, dicCode = "smzh_msg")
	@Dict(dicCode = "smzh_msg")
    @ApiModelProperty(value = "消息类型 1：图片2：网站")
    private Integer msgType;
	/**图片*/
	@Excel(name = "图片", width = 15)
    @ApiModelProperty(value = "图片")
    private String content;
	/**消息结果0：未执行 1：成功 2：失败*/
	@Excel(name = "消息结果0：未执行 1：成功 2：失败", width = 15, dicCode = "smzh_msg_result")
	@Dict(dicCode = "smzh_msg_result")
    @ApiModelProperty(value = "消息结果0：未执行 1：成功 2：失败")
    private Integer result;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remakr;

    /**消息种类*/
    @Excel(name = "消息种类", width = 15, dicCode = "smzh_msg_class")
    @Dict(dicCode = "smzh_msg_class")
    @ApiModelProperty(value = "消息种类")
    private java.lang.Integer msgClass;
}
